<%@ page language="java" contentType="text/html; charset=utf-8"%>
<%@ include file="/home/include/init_home.jsp" %>
<%@ page isErrorPage="true" %>
<%

	String nextUrl = request.getAttribute("nextUrl") == null ? "" : (String)request.getAttribute("nextUrl");
	if ("".equals(nextUrl)) {
		nextUrl = StringUtil.nvl(request.getHeader("Referer"));
	}

	//System.out.println("error_page:" + exception);
	if (exception == null) {
		exception = (Exception)request.getAttribute("exception");
	}

%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<title><%= HOME_NAME %></title>
	<%@ include file="/home/include/cssnjs.jsp"  %>
	<script type="text/javascript">
	$(document).ready(function() {

	});
	</script>
</head>
<body>
<div id="wrap">
	<%@ include file="/home/include/header.jsp"  %>
	<div id="main">
		<h3>
<% 		if (exception != null) {
			out.println(exception.getMessage());
		}
%>		</h3>


		<div style="padding:10px">
<%		if ("".equals(nextUrl)) { %>
        	<a href="#nohref" onclick="history.back(-1);">[이전으로 돌아가기]</a>
<%		} else { %>
			<a href="<%= nextUrl %>">[확인]</a>
<%		} %>
		</div>
	</div>
	<%@ include file="/home/include/footer.jsp"  %>
</div>
</body>
</html>


